#ifndef _FOLDERERROR_H_
#define _FOLDERERROR_H

#include "filesystemerror.h"
#include "folder.h"

#include <string>
using std::string;

namespace Avd {

class FolderError : public FileSystemError {
public:
	FolderError(string error, const Folder& folder = Folder())
			: FileSystemError(error), folder(folder) { }
	virtual ~FolderError() throw() { }

	Folder getFolder() const { return folder; }

private:
	Folder folder;
};
}

#endif // _FOLDERERROR_H_
